//
// Created by root on 19-7-28.
//
#pragma once
#ifndef SYSTEMDEBUGGER_FILE_UTILS_H
#define SYSTEMDEBUGGER_FILE_UTILS_H

#include <vector>
#include <string>

bool file_exist(const std::string &file_path);
std::vector<std::string> read_lines(const std::string &file_path);
bool contains(std::vector<std::string> u, const std::string &find);
void write_file(const std::string &file_path,const std::string &content);
std::string read_all(const std::string &file_path);
bool nice_name_contains(std::string find);
bool keep_alive_contains(std::string find);
#endif //SYSTEMDEBUGGER_FILE_UTILS_H
